package cn.tedu.cinema.order.service.impl;

import cn.tedu.cinema.order.mapper.OrderMapper;
import cn.tedu.cinema.order.pojo.dto.OrderParam;
import cn.tedu.cinema.order.pojo.entity.Order;
import cn.tedu.cinema.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;



    @Override
    public void createOrder(Order order) {
        orderMapper.insert(order);
    }
}
